<template>
	<view class="container">
		<view class="hintArea">
			<view class="iconContent">

			</view>
			<view class="status">
				下单成功
			</view>

			<view class="detailInfo">
				<text>再逛逛商城浏览更多商品吧</text>
			</view>
		</view>

		<view class="buttonGroup">
			<view class="btnCheck" @click="toCheckOrderDetail()">
				查看订单
			</view>
			<view class="btnBack" @click="toCate()">
				返回商城
			</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			// 查看相应详细订单
			toCheckOrderDetail() {
				uni.$toPage('/subpkg/shoppingMall/order_list/order_list', {
					orderType: 2,
					
					
				}, false, false, true)
			}

			,

			// 回到商城
			toCate() {
				uni.$toPage('/pages/cate/cate')
			}

		}
	}
</script>

<style lang="scss" scoped>
	.container {
		background: rgba(243, 243, 245, 1);

		.hintArea {

			margin-top: 264rpx;
			display: flex;
			align-items: center;
			flex-direction: column;
			justify-content: center;

			.iconContent {
				width: 118rpx;
				height: 118rpx;

				background: url('/static/cart/popup_icon_success_disabled@2x.png.png');
				background-size: cover;
			}

			.status {
				margin-top: 36rpx;
				color: rgba(223, 161, 60, 1);
				font-size: 40rpx;
				font-weight: 700;
			}

			.detailInfo {
				margin-top: 12rpx;
				display: flex;
				flex-direction: column;
				align-items: center;
				color: rgba(167, 167, 167, 1);

				text {}
			}
		}

		.buttonGroup {
			display: flex;
			padding: 0 122rpx;

			justify-content: space-between;
			margin-top: 98rpx;

			.btnCheck {
				box-sizing: border-box;
				display: flex;
				align-items: center;
				justify-content: center;
				width: 232rpx;
				height: 80rpx;
				opacity: 1;
				border-radius: 26rpx;
				border: 1rpx solid rgba(85, 85, 87, 1);
				font-size: 28rpx;
			}

			.btnBack {
				font-size: 28rpx;
				color: rgba(255, 255, 255, 1);
				box-sizing: border-box;
				display: flex;
				align-items: center;
				justify-content: center;
				width: 232rpx;
				height: 80rpx;
				opacity: 1;
				border-radius: 26rpx;
				background: rgba(223, 161, 60, 1);
			}
		}
	}
</style>